package pit.com.ordermobilesystem.a;

import pit.com.ordermobilesystem.R;
import pit.com.ordermobilesystem.amap.MapCongHoa;
import pit.com.ordermobilesystem.amap.MapDeTham;
import pit.com.ordermobilesystem.amap.MapDiamond;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;

public class PizzaHutActivity extends FragmentActivity {
	private ImageView imb_conghoa;
	private ImageView img_diamond;
	private ImageView img_detham;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.pizzahut);
		imb_conghoa = (ImageView) findViewById(R.id.imb_conghoa);
		img_diamond = (ImageView) findViewById(R.id.img_diamond);
		img_detham = (ImageView) findViewById(R.id.img_detham);
		
		imb_conghoa.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(PizzaHutActivity.this, MapCongHoa.class);
				startActivity(intent);
			}
		});
		img_diamond.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(PizzaHutActivity.this, MapDiamond.class);
				startActivity(intent);
			}
		});
		img_detham.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(PizzaHutActivity.this, MapDeTham.class);
				startActivity(intent);
			}
		});
	}


}
